{% load static %}
<!DOCTYPE html>
<html lang="ua">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="{% static 'main/css/master.css' %}">
	<link rel="shortcut icon" type="image/png" href="{% static 'main/img/logo.png' %}">
	<title>Yusti</title>
</head>
<body>
	<div class="back"><img src="{% static 'main/img/logo.png' %}"></div>
	<header>
		{% if perms.main.view_penalty %}
			<a href="{% url 'plist' %}"><div class="button">Список кар</div></a>
		{% endif %}
		{% if perms.main.add_penalty %}
			<a href="{% url 'np' %}"><div class="button">Нова кара</div></a>
		{% endif %}
		{% if perms.main.add_player %}
			<a href="{% url 'new_player' %}"><div class="button">Новий порушник</div></a>
		{% endif %}
		{% if user.is_authenticated %}
			<a href="{% url 'logout' %}?next={{ request.path }}"><div class="button">Вийти</div></a>
		{% endif %}
	</header>
	{% block content %}{% endblock %}
</body>
</html>